package org.tp.framework.exception;

public class TPFrameworkException extends RuntimeException {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    private int expCode;

    private String expMsg;

    public TPFrameworkException() {

    }

    public TPFrameworkException(int code, String msg) {
        expCode = code;
        expMsg = msg;
    }

    public String getExpMsg() {
        return expMsg;
    }

    public void setExpMsg(String expMsg) {
        this.expMsg = expMsg;
    }

    public int getExpCode() {
        return expCode;
    }

    public void setExpCode(int expCode) {
        this.expCode = expCode;
    }

}
